home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Ebooks / Thinking in C++ V2 / C11 / Borland.makefile < prev    next >
Encoding:
Makefile  |  2000-05-25  |  2.1 KB  |  98 lines

  1. # From Thinking in C++, 2nd Edition
  2. # At http://www.BruceEckel.com
  3. # (c) Bruce Eckel 1999
  4. # Copyright notice in Copyright.txt
  5. # Automatically-generated MAKEFILE 
  6. # For examples in directory C11
  7. # using the Borland compiler
  8. # Note: does not make files that will 
  9. # not compile with this compiler
  10. # Invoke with: make -f Borland.makefile
  11.  
  12. # Note: this requires the upgrade from
  13. # www.Borland.com for successful compilation!
  14. CPP = Bcc32
  15. CPPFLAGS = -w-inl -w-csu -wnak
  16. OFLAG = -e
  17. .SUFFIXES : .obj .cpp .c
  18. .cpp.obj :
  19.     $(CPP) $(CPPFLAGS) -c $<
  20. .c.obj :
  21.     $(CPP) $(CPPFLAGS) -c $<
  22.  
  23. all: \
  24.     Reference.exe \
  25.     Pasconst.exe \
  26.     Refptr.exe \
  27.     PassStruct.exe \
  28.     HowMany.exe \
  29.     HowMany2.exe \
  30.     Linenum.exe \
  31.     Autocc.exe \
  32.     Stopcc.exe \
  33.     Pmem.exe \
  34.     Pmem2.exe 
  35.  
  36. test: all 
  37.     Reference.exe  
  38.     Pasconst.exe  
  39.     Refptr.exe  
  40.     PassStruct.exe  
  41.     HowMany.exe  
  42.     HowMany2.exe  
  43.     Linenum.exe  
  44.     Autocc.exe  
  45.     Stopcc.exe  
  46.     Pmem.exe  
  47.     Pmem2.exe  
  48.  
  49. bugs: 
  50.     @echo No compiler bugs in this directory!
  51.  
  52. Reference.exe: Reference.obj 
  53.     $(CPP) $(OFLAG)Reference.exe Reference.obj 
  54.  
  55. Pasconst.exe: Pasconst.obj 
  56.     $(CPP) $(OFLAG)Pasconst.exe Pasconst.obj 
  57.  
  58. Refptr.exe: Refptr.obj 
  59.     $(CPP) $(OFLAG)Refptr.exe Refptr.obj 
  60.  
  61. PassStruct.exe: PassStruct.obj 
  62.     $(CPP) $(OFLAG)PassStruct.exe PassStruct.obj 
  63.  
  64. HowMany.exe: HowMany.obj 
  65.     $(CPP) $(OFLAG)HowMany.exe HowMany.obj 
  66.  
  67. HowMany2.exe: HowMany2.obj 
  68.     $(CPP) $(OFLAG)HowMany2.exe HowMany2.obj 
  69.  
  70. Linenum.exe: Linenum.obj 
  71.     $(CPP) $(OFLAG)Linenum.exe Linenum.obj 
  72.  
  73. Autocc.exe: Autocc.obj 
  74.     $(CPP) $(OFLAG)Autocc.exe Autocc.obj 
  75.  
  76. Stopcc.exe: Stopcc.obj 
  77.     $(CPP) $(OFLAG)Stopcc.exe Stopcc.obj 
  78.  
  79. Pmem.exe: Pmem.obj 
  80.     $(CPP) $(OFLAG)Pmem.exe Pmem.obj 
  81.  
  82. Pmem2.exe: Pmem2.obj 
  83.     $(CPP) $(OFLAG)Pmem2.exe Pmem2.obj 
  84.  
  85.  
  86. Reference.obj: Reference.cpp 
  87. Pasconst.obj: Pasconst.cpp 
  88. Refptr.obj: Refptr.cpp 
  89. PassStruct.obj: PassStruct.cpp 
  90. HowMany.obj: HowMany.cpp 
  91. HowMany2.obj: HowMany2.cpp 
  92. Linenum.obj: Linenum.cpp ..\require.h 
  93. Autocc.obj: Autocc.cpp 
  94. Stopcc.obj: Stopcc.cpp 
  95. Pmem.obj: Pmem.cpp 
  96. Pmem2.obj: Pmem2.cpp 
  97.  
  98.